package demo;

import java.util.ArrayList;
import java.util.Collection;

//Day07
public class Day16001 {
    public static void main(String[] args) {
        Collection<String> collection=new ArrayList<>();
        collection.add("zhangsan");
        collection.add("lisi");
        System.out.println(collection.contains("lisi"));
        System.out.println(collection.contains("wangwu"));
        System.out.println(collection.size());
        collection.remove("zhangsan");
    }
}
